<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>全局计量系统</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="format-detection" content="telephone=no" />
  <link rel="stylesheet" href="resource/css/layui.css" media="all">
  <link rel="stylesheet" href="css/global.css" media="all">
  <link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">
  <style type="text/css">
  	.layui-layout-admin .admin-iframe {
	    position: absolute;
	    border: 0;
	    width: 100%;
	    height: 100%;
    }
  </style>
</head>
<body class="layui-layout-body" style="border-bottom: solid 5px #1aa094;">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header header header-demo">
				<div class="layui-main">
					<div class="admin-login-box">
						<a class="logo" style="left: 0;" href="http://beginner.zhengjinfan.cn/demo/beginner_admin/">
							<span style="font-size: 22px;">恒旗录单系统</span>
						</a>
						<div class="admin-side-toggle">
							<i class="fa fa-bars" aria-hidden="true"></i>
						</div>
						<div class="admin-side-full">
							<i class="fa fa-life-bouy" aria-hidden="true"></i>
						</div>
					</div>
					<ul class="layui-nav admin-header-item">
						<!-- 横向菜单开始 -->
						<li class="layui-nav-item" th:each="menu : ${listMenu}" th:if="${menu.postion} eq '0'">
							<a th:href="${menu.menuHref} != null ? ${menu.menuHref} : 'javascript:;'" th:target="${menu.target} != null ? ${menu.target} : 'myFrameName'" th:text="${menu.menuName}">清除缓存</a>
							<dl class="layui-nav-child">
								<dd th:each="child : ${menu.chlidMenus}">
									<a href="${child.menuHref} != null ? ${child.menuHref} : 'javascript:;'" th:target="${menu.target} != null ? ${menu.target} : 'myFrameName'">
									<i th:if="${child.menuIcon} != null" th:class="${child.menuIcon}" aria-hidden="true"></i> 
									<span th:text="${child.menuName}">个人信息</span>
									</a>
								</dd>
							</dl>
						</li>
						<!-- 横向菜单结束 -->
						
						<!-- <li class="layui-nav-item">
							<a href="javascript:;">浏览网站</a>
						</li>
						<li class="layui-nav-item" id="video1">
							<a href="javascript:;">视频</a>
						</li> -->
						<li class="layui-nav-item">
							<a href="javascript:;" class="admin-header-user">
								<img src="img/0.jpg" />
								<span>layui</span>
							</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 
									<span>个人信息</span></a>
								</dd>
								<dd>
									<a href="javascript:;"><i class="fa fa-gear" aria-hidden="true"></i> 设置</a>
								</dd>
								<dd id="lock">
									<a href="javascript:;">
										<i class="fa fa-lock" aria-hidden="true" style="padding-right: 3px;padding-left: 1px;"></i> 锁屏 (Alt+L)
									</a>
								</dd>
								<dd>
									<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
								</dd>
							</dl>
						</li>
					</ul>
					<ul class="layui-nav admin-header-item-mobile">
						<li class="layui-nav-item">
							<a href="login.html"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
						</li>
					</ul>
				</div>
			</div>
  
  <div class="layui-side layui-bg-black" id="admin-side">
    <div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree left_menu_li"  lay-filter="test">
        <li class="layui-nav-item first-item layui-this">
        		<a href="javascript:;"><i class="layui-icon" style="margin-right:10px;">&#xe68e;</i>首页</a>
        </li>
        
        <!-- 纵向菜单开始 -->
        <li class="layui-nav-item" th:each="menu : ${listMenu}" th:if="${menu.postion} eq '1'">
          <a class="" th:href="${menu.menuHref} != null and ${#lists.size(menu.chlidMenus) == 0} ? ${menu.menuHref} : 'javascript:;'" th:target="${menu.target} != null ? ${menu.target} : 'myFrameName'" th:text="${menu.menuName}">台账管理</a>
          <dl class="layui-nav-child" th:each="child : ${menu.chlidMenus}">
            <dd><a th:href="${child.menuHref} != null ? ${child.menuHref} : 'javascript:;'" 
            th:target="${child.target} != null ? ${child.target} : 'myFrameName'"
            th:text="${child.menuName}">计量器具台账</a></dd>
            <!-- <dd><a target="myFrameName" href="measureUser.html">测试页面</a></dd>
            <dd><a target="myFrameName" href="javascript:;">计量标准台账</a></dd>
            <dd><a target="myFrameName" href="javascript:;">机构资质台账</a></dd>
            <dd><a target="myFrameName" href="javascript:;">批量修改台账</a></dd>
            <dd><a target="myFrameName" href="form.html">任务凭证</a></dd> -->
          </dl>
        </li>

      </ul>
    </div>
  </div>
  
  <div class="layui-body">
  	<div class="iframe-mask" id="iframe-mask" style="display: none;"></div>
    <!-- 内容主体区域 -->
    <iframe class="admin-iframe" name="myFrameName" src="main.html"></iframe>
  </div>
  
  <div class="layui-footer" style="text-align:center;">
    <!-- 底部固定区域 -->
    © layui.com - 恒旗录单系统
  </div>
</div>
<script src="resource/layui.js"></script>
<script src="js/index.js"></script>
</body>
</html>